package com.pucong.gitee.database.backup.business.database.service;

import com.pucong.gitee.database.backup.common.entity.database.vo.DatabaseTableVo;
import com.pucong.gitee.database.backup.common.entity.database.dto.DatabaseDto;
import com.pucong.gitee.database.backup.common.entity.database.dto.DeleteDataTableDto;
import com.pucong.gitee.database.backup.common.entity.database.dto.RenameDataTableDto;

import java.util.List;

public interface OperationDataTableService {

    /**
     * 获取表名list
     * @param databaseId
     * @param databaseDto
     * @return
     */
    List<DatabaseTableVo> getTableList(String databaseId, DatabaseDto databaseDto);

    Boolean renameDataTable(String databaseId, RenameDataTableDto renameDataTableDto);

    Boolean deleteDataTable(String databaseId, DeleteDataTableDto deleteDataTableDto);
}
